package org.example.demo.bean;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author zxiaoming
 * @Description: 测试集合类型的装配
 * @date 2021/2/250:17
 */
public class TestFuheZp {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-zp.xml");
        FuheInterface collections = context.getBean("collections", FuheInterface.class);
        System.out.println(collections.getLists());
        System.out.println(collections.getSets());
        System.out.println(collections.getMaps());
        System.out.println(collections.getPros());

    }
}
